package view;

import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Label;

import javax.swing.JFrame;
import javax.swing.JPanel;

public abstract class VentanaError extends JFrame{

	protected JPanel panelDeFondo;
	
	public VentanaError(){

		this.setLocation(300, 230);
		this.setSize(150, 100);
		this.setVisible(true);
		setTitle("Error");
		panelDeFondo = new JPanel(new GridLayout(2,1));
		this.setContentPane(panelDeFondo);
		panelDeFondo.setFont(new Font("helvetica", Font.BOLD, 12));
		panelDeFondo.setVisible(true);
	}
	
}
